<!DOCTYPE html>



  


<html class="theme-next mist use-motion" lang="zh-CN">
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT">










<meta name="description" content="面试知识点总结，侧重于C/C++,包括操作系统、Linux系统编程、计算机网络、设计模式等。">
<meta property="og:type" content="article">
<meta property="og:title" content="面试知识点总结">
<meta property="og:url" content="http://luqilinok.github.io/2019/05/29/interview/index.html">
<meta property="og:site_name" content="Lu QiLin&#39;s Blog">
<meta property="og:description" content="面试知识点总结，侧重于C/C++,包括操作系统、Linux系统编程、计算机网络、设计模式等。">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="http://luqilinok.github.io/2019/05/29/interview/C++面试知识点.png">
<meta property="og:updated_time" content="2019-07-17T05:56:46.428Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="面试知识点总结">
<meta name="twitter:description" content="面试知识点总结，侧重于C/C++,包括操作系统、Linux系统编程、计算机网络、设计模式等。">
<meta name="twitter:image" content="http://luqilinok.github.io/2019/05/29/interview/C++面试知识点.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: 'Author'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://luqilinok.github.io/2019/05/29/interview/">





  <title>面试知识点总结 | Lu QiLin's Blog</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Lu QiLin's Blog</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br>
            
            Home
          </a>
        </li>
      
        
        <li class="menu-item menu-item-technology">
          <a href="/categories/Technology/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br>
            
            Technology
          </a>
        </li>
      
        
        <li class="menu-item menu-item-notes">
          <a href="/categories/Notes/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br>
            
            Notes
          </a>
        </li>
      
        
        <li class="menu-item menu-item-personal">
          <a href="/categories/Personal/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br>
            
            Personal
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br>
            
            About
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://luqilinok.github.io/2019/05/29/interview/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="LuQiLin">
      <meta itemprop="description" content>
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Lu QiLin's Blog">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">面试知识点总结</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">Posted on</span>
              
              <time title="Post created" itemprop="dateCreated datePublished" datetime="2019-05-29T09:35:15+08:00">
                2019-05-29
              </time>
            

            

            
          </span>
          
  <span class="post-updated">
    &nbsp; | &nbsp; 更新于
    <time itemprop="dateUpdated" datetime="2019-07-17T13:56:46+08:00" content="2019-07-17">
      2019-07-17
    </time>
  </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">In</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/Notes/" itemprop="url" rel="index">
                    <span itemprop="name">Notes</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>面试知识点总结，侧重于C/C++,包括操作系统、Linux系统编程、计算机网络、设计模式等。</p>
<a id="more"></a>
<hr>
<p><img src="/2019/05/29/interview/C++面试知识点.png" alt="C++面试知识点"></p>
<h1 id="目录"><a href="#目录" class="headerlink" title="目录"></a>目录</h1><p><a href="#jump1">01.数据结构与算法</a><br><a href="#jump2">02.C/C++语言</a><br><a href="#jump3">03.操作系统</a><br><a href="#jump4">04.Linux系统编程</a><br><a href="jump5">05.计算机网络</a><br><a href="#jump6">06.系统设计</a><br><a href="#jump7">07.Linux内核</a><br><a href="#jump8">08.设计模式</a><br><a href="#jump9">09.分布式系统</a><br><a href="#jump10">10.数据库</a></p>
<h1 id="数据结构与算法"><a href="#数据结构与算法" class="headerlink" title=" 数据结构与算法"></a><span id="jump1"> 数据结构与算法</span></h1><p><a href="/2019/05/29/datastructuresort/">1、数据结构之排序算法</a><br><a href="/2019/05/29/datastructurestringfunc/">2、数据结构之字符串函数</a><br><a href="/2019/05/31/datastructurelist/">3、数据结构之链表</a><br><a href="/2019/06/17/datastructuretree/">4、数据结构之树遍历</a><br><a href="/2019/06/26/datastructureadvancedtree/">5、数据结构之高级树</a><br><a href="/2019/06/28/datastructuregraph/">6、数据结构之图算法</a><br><a href="/2019/06/28/datastructurehash/">7、Hash函数以及冲突</a><br>8、刷题总结<br>9、算法题目分类与总结</p>
<h1 id="C-C-语言"><a href="#C-C-语言" class="headerlink" title=" C/C++语言 "></a><span id="jump2"> C/C++语言 </span></h1><h2 id="编程基础"><a href="#编程基础" class="headerlink" title="编程基础"></a>编程基础</h2><p><a href="/2019/06/30/cpluscplusbase/">1、C++编程基础部分常见问题梳理</a><br><a href="/2019/06/30/cpluscplusstatic/">2、C++之静态详解</a><br><a href="/2019/07/07/cpluscplustypeswitch/">3、C++之类型转换详解</a><br><a href="/2019/07/07/cpluscplusmemorypack/">4、C/C++内存对齐策略</a><br><a href="/2019/07/07/cpluscplusmemory/">5、C/C++内存布局策略详解</a></p>
<hr>
<h2 id="面向对象基础"><a href="#面向对象基础" class="headerlink" title="面向对象基础"></a>面向对象基础</h2><p><a href="/2019/07/07/cpluscplusorientedbase/">1、C++面向对象基础</a><br><a href="/2019/07/07/cplusplusoperator/">2、C++之操作符重载</a><br><a href="/2019/07/08/cpluscplusinheritance/">3、C++之继承</a><br><a href="/2019/07/09/cpluscpluspolymorphism/">4、C++之多态</a><br><a href="/2019/07/10/cpluscplusfriend/">5、C++之友元</a><br><a href="/2019/07/10/cpluscplustemplate/">6、C++之模板与泛型编程</a><br><a href="/2019/07/11/cpluscplusinteligenceptr/">7、C++之动态内存</a><br><a href="/2019/07/11/cpluscplusexception/">8、C++之异常处理</a><br><a href="/2019/07/11/cpluscplusnew/">9、C++11/14新特性</a></p>
<hr>
<h2 id="标准模板类"><a href="#标准模板类" class="headerlink" title="标准模板类"></a>标准模板类</h2><p><a href="/2019/07/11/cplusplusst/">1、C++之STL用法</a><br><a href="/2019/07/11/cpluscplusstlcode/">2、C++之STL源码剖析</a></p>
<hr>
<h1 id="操作系统"><a href="#操作系统" class="headerlink" title=" 操作系统"></a><span id="jump3"> 操作系统</span></h1><p><a href="/2019/07/11/operatoros/">1、操作系统基础知识</a><br><a href="/2019/07/11/operatorhighconcurrency">2、服务器高并发设计模式</a></p>
<hr>
<h1 id="Linux系统编程"><a href="#Linux系统编程" class="headerlink" title=" Linux系统编程"></a><span id="jump4"> Linux系统编程</span></h1><p><a href="/2019/07/11/linuxcomputersystem/">1、计算机系统</a><br><a href="/2019/07/11/linuxfileio/">2、文件与I/O</a><br><a href="/2019/07/11/linuxprocess/">3、进程</a><br><a href="/2019/07/11/linuxsignal/">4、信号</a><br>5、管道<br><a href="/2019/07/12/linuxipc/">6、进程间通信</a><br><a href="/2019/07/12/linuxmessagequeue/">7、System V 消息队列</a><br><a href="/2019/07/12/linuxmemory/">8、System V 共享内存</a><br><a href="/2019/07/12/linuxsemaphore/">9、System V 信号量</a><br><a href="/2019/07/12/linuxposixmessagequeue/">10、POSIX 消息队列</a><br><a href="/2019/07/12/linuxposixmemory/">11、POSIX 共享内存</a><br><a href="/2019/07/12/linuxpthread/">12、Linux 线程的概念和使用</a><br><a href="/2019/07/12/linuxposixsemphoreandmutex/">13、POSIX 信号量与互斥锁</a><br><a href="/2019/07/12/linuxposixcond/">14、POSIX 条件变量</a></p>
<hr>
<h1 id="计算机网络"><a href="#计算机网络" class="headerlink" title=" 计算机网络"></a><span id="jump5"> 计算机网络</span></h1><p><a href="/2019/07/12/networkbase/">1、计算机网络基础知识</a><br><a href="/2019/07/12/networksocket/">2、网络编程之socket编程基础</a><br><a href="2019/07/13/networksocketpratice/">3、网络编程之socket实战</a><br><a href="/2019/07/13/networksocket2/">4、网络编程之TCP粘包问题</a><br><a href="/2019/07/13/networksocket3/">5、网络编程之getsockname、getpeername、gethostbyname函数</a><br><a href="/2019/07/13/networksocket4/">6、网络编程之TCP状态</a><br><a href="/2019/07/13/networksocket5/">7、网络编程之IO模型</a><br><a href="/2019/07/13/networksocket6/">8、网络编程之shutdown函数与超时设置</a><br><a href="/2019/07/13/networksocket7/">9、网络编程之UDP与实战</a><br><a href="/2019/07/13/networksocket8/">10、网络编程之UNIX域协议</a></p>
<h1 id="设计模式"><a href="#设计模式" class="headerlink" title=" 设计模式"></a><span id="jump8"> 设计模式</span></h1><p><a href="/2019/06/20/designpattern/">1.什么是设计模式</a><br><a href="/2019/06/21/designpatterntemplatemethod/">2.模板方法模式</a><br><a href="/2019/06/21/designpatternstrategy/">3.策略模式</a><br><a href="/2019/06/21/designpatternobserver/">4.观察者模式</a><br><a href="/2019/06/21/designpatterndecorator/">5.装饰模式</a><br><a href="/2019/06/23/designpatternbridge/">6.桥模式</a><br><a href="/2019/06/23/designpatternfactory/">7.工厂模式</a><br><a href="/2019/06/23/designpatternabstractfactory/">8.抽象工厂模式</a><br><a href="/2019/06/23/designpatternprototype/">9.原型模式</a><br><a href="/2019/06/23/designpatternbuilder">10.构建器</a><br><a href="/2019/06/23/designpatternsingleton/">11.单件模式</a><br><a href="/2019/06/23/designpatternflyweight/">12.享元模式</a><br><a href="/2019/06/24/designpatternfacade/">13.门面模式</a><br><a href="/2019/06/24/designpatternproxy/">14.代理模式</a><br><a href="/2019/06/24/designpatternadapter/">15.适配器</a><br><a href="/2019/06/25/designpatternmediator/">16.中介者</a><br><a href="/2019/06/25/designpatternstate/">17.状态模式</a><br><a href="/2019/06/25/designpatternmemento/">18.备忘录</a><br><a href="/2019/06/25/designpatterncomposite/">19.组合模式</a><br><a href="/2019/06/25/designpatterniterator/">20.迭代器</a><br><a href="/2019/06/25/designpatternchainofresponsibility/">21.职责链</a><br><a href="/2019/06/25/designpatterncommand/">22.命令模式</a><br><a href="/2019/06/26/designpatternvisitor/">23.访问器</a><br><a href="/2019/06/26/designpatterninterpreter/">24.解析器</a></p>
<h1 id="分布式系统"><a href="#分布式系统" class="headerlink" title=" 分布式系统"></a><span id="jump9"> 分布式系统</span></h1><p><a href="/2019/07/17/distributedsystemlock/">1、分布式锁以及三种实现方式</a></p>

      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2019/05/29/datastructuresort/" rel="next" title="数据结构之排序算法">
                <i class="fa fa-chevron-left"></i> 数据结构之排序算法
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2019/05/29/datastructurestringfunc/" rel="prev" title="数据结构之字符串函数">
                数据结构之字符串函数 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            Table of Contents
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            Overview
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">LuQiLin</p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives">
              
                  <span class="site-state-item-count">80</span>
                  <span class="site-state-item-name">posts</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                
                  <span class="site-state-item-count">1</span>
                  <span class="site-state-item-name">categories</span>
                
              </div>
            

            

          </nav>

          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#目录"><span class="nav-number">1.</span> <span class="nav-text">目录</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#数据结构与算法"><span class="nav-number">2.</span> <span class="nav-text"> 数据结构与算法</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#C-C-语言"><span class="nav-number">3.</span> <span class="nav-text"> C/C++语言 </span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#编程基础"><span class="nav-number">3.1.</span> <span class="nav-text">编程基础</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#面向对象基础"><span class="nav-number">3.2.</span> <span class="nav-text">面向对象基础</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#标准模板类"><span class="nav-number">3.3.</span> <span class="nav-text">标准模板类</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#操作系统"><span class="nav-number">4.</span> <span class="nav-text"> 操作系统</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#Linux系统编程"><span class="nav-number">5.</span> <span class="nav-text"> Linux系统编程</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#计算机网络"><span class="nav-number">6.</span> <span class="nav-text"> 计算机网络</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#设计模式"><span class="nav-number">7.</span> <span class="nav-text"> 设计模式</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#分布式系统"><span class="nav-number">8.</span> <span class="nav-text"> 分布式系统</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2019</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">LuQiLin</span>

  
</div>


  <div class="powered-by">Powered by <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a></div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">Theme &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Mist</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
